<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
	<head>
		<base href="<%=basePath%>">
		<title>记录查询</title>
		<%@include file="../collect/meta.jsp"%>
		<script type="text/javascript" charset="utf-8"
			src="${ctx }/calender/WdatePicker.js">
		</script>
		<script type="text/javascript" src="${ctx}/js/returnTop.js"></script>
	</head>
	<body lang="zh-cn">
		<div class="wrapper">
			<c:import url="/muser/musertop.jsp"></c:import>
			<div class="main-container" id="main-container">
				<div class="main-container-inner">
					<c:import url="/muser/muserleft.jsp"></c:import>
					<div class="main-content">
						<div class="breadcrumbs" id="breadcrumbs">
							<ul class="breadcrumb">
								<li><i class="icon-home home-icon"></i>退换管理</li>
								<li>充值退换申请</li>							
							</ul>
						</div>
						<div class="page-content">
							<div class="row">
								<div class="col-xs-12">
									<!-- PAGE CONTENT BEGINS -->
									<form action="bApplication!submitApplicationBalance">
										<table class="table table-striped table-bordered table-hover">
											<tr>
												<td><div align="center">会员账号</div></td>
												<td><div align="center">充值时间</div></td>
												<td><div align="center">充值金额</div></td>
												<td><div align="center">充值店铺</div></td>
												<td><div align="center">操作人</div></td>
											</tr>
											<tr>
												<td><div align="center">${balance.member.mobile }</div></td>
												<td><div align="center">${balance.createTime }</div><input type="text" name="balance.id" value="${balance.id }"style="display: none;"></td>
												<td><div align="center">${balance.money }</div></td>
												<td><div align="center">${balance.shopName }</div></td>						
												<td><div align="center">${balance.userName }</div></td>
											</tr>
                                         </table>
                                         <table width="100%">
											<tr>
												<td>
													<div align="center" style="margin-bottom:20px;">申请原因：
														<select name="bApplication.applicationType" onchange="getCause(this);" > 
															<option value="1"> 操作失误 </option> 															
															<option value="2"> 其它 </option>
														</select>
													 </div>
												</td>
											</tr>
											<tr>
												<td>
													<div align="center" id="Cause" style="display:none;margin-bottom:20px;">
														<textarea name="bApplication.applicationReason" rows="6" cols="50"> </textarea>
													</div>
												</td>
											</tr>
											<tr>
												<td><div align="center"><input type="submit" value="提交"class="btn btn-primary"></div></td>
											</tr>
										</table>
									</form>
									<!-- PAGE CONTENT ENDS -->
								</div>
								<!-- /.col -->
							</div>
							<!-- /.row -->
						</div>
						<!-- /.page-content -->
					</div>
					<!-- /.main-content -->
				</div>
				<!-- /.main-container-inner -->
				<a href="#" id="btn-scroll-up"
					class="btn-scroll-up btn btn-sm btn-inverse"
					style="position: fixed; bottom: 0;"> <i
					class="icon-double-angle-up icon-only bigger-110"></i> </a>
			</div>
			<!-- /.main-container -->
			<div class="push"></div>
		</div>
		<c:import url="/collect/down.jsp"></c:import>
	</body>
	<script type="text/javascript">
		$('.mtuihuan > ul').show();
		$('.mtuihuan > ul > li > a').eq(1).css("color","red");
		
	   function getCause(act){
		  if (act.value == '2') {
            $("#Cause").show();
		  }else{
		    $("#Cause").hide();
		  }
	   }
    </script>
   
</html>